﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO_QLNS
{
    public class CommentDTO : TransferObject
    {
        public CommentDTO() { }

        public CommentDTO(CommentDTO comment)
        {
            _CommentID = comment.CommentID;
            _CustomerID = comment.CustomerID;
            _BookID = comment.BookID;
            _Comment = comment.Comment;
        }

        public CommentDTO(int commentID, int customerID, int bookID, string comment)
        {
            _CommentID = commentID;
            _CustomerID = customerID;
            _BookID = bookID;
            _Comment = comment;
        }

        private int _CommentID;
        public int CommentID
        {
            get { return _CommentID; }
            set { _CommentID = value; }
        }

        private int _CustomerID;
        public int CustomerID
        {
            get { return _CustomerID; }
            set { _CustomerID = value; }
        }

        private int _BookID;
        public int BookID
        {
            get { return _BookID; }
            set { _BookID = value; }
        }

        private string _Comment;
        public string Comment
        {
            get { return _Comment; }
            set { _Comment = value; }
        }
    }
}
